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 | |
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')
-rw-r--r-- | chat/zenicb/distinfo | 4 | ||||
-rw-r--r-- | chat/zenicb/patches/patch-aa | 29 |
2 files changed, 27 insertions, 6 deletions
diff --git a/chat/zenicb/distinfo b/chat/zenicb/distinfo index 51c951f47b7..1dc3ccd61b0 100644 --- a/chat/zenicb/distinfo +++ b/chat/zenicb/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 11:07:20 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/11/02 10:56:02 martin Exp $ SHA1 (zenicb-19981202.tar.gz) = c700e51084a123e210a8aa7335ebc1b2464a85e7 Size (zenicb-19981202.tar.gz) = 30833 bytes -SHA1 (patch-aa) = f38b0c265df5300e43c4f688f671bd9fd2382880 +SHA1 (patch-aa) = 55f84c908156edeb8c02bc43950b6ce416345b90 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 + ;; |