diff options
author | martin <martin> | 2001-11-02 10:56:02 +0000 |
---|---|---|
committer | martin <martin> | 2001-11-02 10:56:02 +0000 |
commit | 7619c1e5cfcc3d784905f9f0c38f55ec7ef52aff (patch) | |
tree | f963e41b0821c98377975346923a149bf502b3b4 /chat/zenicb/patches/patch-aa | |
parent | 182773eb4b8dc1f718e0891fc65262b3778da1c7 (diff) | |
download | pkgsrc-7619c1e5cfcc3d784905f9f0c38f55ec7ef52aff.tar.gz |
Add a /brick command.
Don't know how we could get by without it so long ("/m server brick" is
a bit clumsy)
Diffstat (limited to 'chat/zenicb/patches/patch-aa')
-rw-r--r-- | chat/zenicb/patches/patch-aa | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/chat/zenicb/patches/patch-aa b/chat/zenicb/patches/patch-aa index 5c0610077e4..ace1d9783e6 100644 --- a/chat/zenicb/patches/patch-aa +++ b/chat/zenicb/patches/patch-aa @@ -1,8 +1,16 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2001/11/02 10:56:03 martin Exp $ ---- src/zenicb.el- Sun Jul 19 18:37:51 1998 -+++ src/zenicb.el Fri Aug 4 17:34:34 2000 -@@ -211,6 +211,8 @@ +--- src/zenicb.el.orig Mon Jul 20 00:37:51 1998 ++++ src/zenicb.el Fri Nov 2 11:50:08 2001 +@@ -143,6 +143,7 @@ + ;(defvar zenicb-command-bcount-hook 'zenicb-command-bcount) ; byte count + (defvar zenicb-command-beep-hook 'zenicb-command-beep) ; beep someone + (defvar zenicb-command-boot-hook 'zenicb-command-boot) ; boot off group ++(defvar zenicb-command-brick-hook 'zenicb-command-brick) ; brick someone + (defvar zenicb-command-cancel-hook 'zenicb-command-cancel) ; cancel invite + (defvar zenicb-command-drop-hook 'zenicb-command-drop) ; drop nick + (defvar zenicb-command-echo-hook 'zenicb-command-echo) ; echoback +@@ -211,6 +212,8 @@ (if (not zenicb-process) () (set-marker (process-mark zenicb-process) (point-max)) @@ -11,3 +19,16 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:36 wiz Exp $ (set-process-buffer zenicb-process zenicb-buffer) (set-process-filter zenicb-process 'zenicb-filter) (set-process-sentinel zenicb-process 'zenicb-sentinel) +@@ -753,6 +756,12 @@ + ;; + (defun zenicb-command-boot (proc parsedcmd) + (zenicb-send-string proc ?h (concat "boot\C-a" (cdr parsedcmd)))) ++;; ++;; Brick someone ++;; /brick [victim] ++;; ++(defun zenicb-command-brick (proc parsedcmd) ++ (zenicb-send-string proc ?h (concat "brick\C-a" (cdr parsedcmd)))) + ;; + ;; Cancel an invitation + ;; |