Added Riece pkg subtree
[packages] / xemacs-packages / riece / lisp / riece-500.el
diff --git a/xemacs-packages/riece/lisp/riece-500.el b/xemacs-packages/riece/lisp/riece-500.el
new file mode 100644 (file)
index 0000000..769c145
--- /dev/null
@@ -0,0 +1,37 @@
+;;; riece-500.el --- handlers for 500 replies -*- lexical-binding: t -*-
+;; Copyright (C) 1998-2003 Daiki Ueno
+
+;; Author: Daiki Ueno <ueno@unixuser.org>
+;; Created: 1998-09-28
+;; Keywords: IRC, riece
+
+;; This file is part of Riece.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING.  If not, write to the
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+;;; Code:
+
+(require 'riece-misc)
+
+(eval-when-compile
+  (autoload 'riece-default-handle-numeric-reply "riece-handle"))
+(defun riece-handle-default-500-message (prefix number name string)
+  (riece-default-handle-numeric-reply
+   riece-error-prefix prefix number name string))
+
+(provide 'riece-500)
+
+;;; riece-500.el ends here