From: Michael Poole Date: Tue, 4 Apr 2006 23:07:02 +0000 (+0000) Subject: Update iauth-test script to match the documented iauth protocol. X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=658b288cbe63d1bc962f453e0ebf34f2777af374 Update iauth-test script to match the documented iauth protocol. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1634 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 9de1843..826e98e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-31 Michael Poole + + * tools/iauth-test (send_server_notice): Use a colon prefix before + the message. + (%handlers): Likewise. + 2006-03-24 Michael Poole * ircd/ircd_signal.c (alloc_crec): Zero-fill returned diff --git a/tools/iauth-test b/tools/iauth-test index 591e9f6..0e8d104 100755 --- a/tools/iauth-test +++ b/tools/iauth-test @@ -142,7 +142,7 @@ BEGIN { } sub send_server_notice () { - reply "> Hello the server!"; + reply "> :Hello the server!"; } my %handlers = ( @@ -174,7 +174,7 @@ my %handlers = ( H_reply => 'D' }, '127.0.2.1' => { C_reply => \&ip_change }, # 127.0.3.x: iC/sP functionality. - '127.0.3.0' => { C_reply => 'C Please enter the password.', + '127.0.3.0' => { C_reply => 'C :Please enter the password.', P_reply => \&passwd_check }, );