From: Kevin L. Mitchell Date: Sat, 28 Jul 2001 17:00:31 +0000 (+0000) Subject: Author: Kev X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=544b0cd2acee45bf316920570b0006fc0b6b9298 Author: Kev Log message: Fix minor typo; I should test-compile *before* I commit, *sigh*. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@544 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 725ebac..02ddb2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-07-28 Kevin L. Mitchell + * ircd/s_user.c (send_supported): oops, minor typo... + * ircd/s_user.c: implement send_supported() to send two ISUPPORT messages containing our feature buffers; make register_user() use send_supported() diff --git a/ircd/s_user.c b/ircd/s_user.c index 96391a3..78b1b0f 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -1545,9 +1545,9 @@ send_supported(struct Client *cptr) char featurebuf[512]; ircd_snprintf(0, featurebuf, sizeof(featurebuf), FEATURES1, FEATURESVALUES1); - send_reply(sptr, RPL_ISUPPORT, featurebuf); + send_reply(cptr, RPL_ISUPPORT, featurebuf); ircd_snprintf(0, featurebuf, sizeof(featurebuf), FEATURES2, FEATURESVALUES2); - send_reply(sptr, RPL_ISUPPORT, featurebuf); + send_reply(cptr, RPL_ISUPPORT, featurebuf); return 0; /* convenience return, if it's ever needed */ }