Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Sat, 21 Jul 2001 23:05:51 +0000 (23:05 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Sat, 21 Jul 2001 23:05:51 +0000 (23:05 +0000)
commit116eac2329f1feb30bbc9be54ff45d39cae4121b
tree22e7ef610d8084b7e6b7956eab7a2e098a6d5b33
parent7b00a1a2ab7cf9da4179c7d54581ee74dc6aa20d
Author: Kev <klmitch@mit.edu>
Log message:

If servers are disconnected through a call to exit_client()--say by a squit
or something else, perhaps an access check--the server would send a raw
message like "ERROR :Closing Link [...]".  The server interprets "ERROR" as
a numeric nick, and since in most cases, that numeric nick doesn't exist,
it ignores the message.  This means that servers that closed the connection
frequently did so without the proper (and useful) error message.  This fix
simply uses sendrawto_one() only for clients, and uses sendcmdto_one() for
servers, fixing the error.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@534 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
ircd/s_misc.c