Fixed two places where the client compared the source of a numeric against

get_server_name(from_server) instead of get_server_itsname(from_server) -
this meant that if the client had a different idea of the local server name
from the server (say, if you used a round-robin to connect), then the client
would incorrectly assume the numeric came from a remote server.

The symptoms were:

 * If your local server sent you a "you're not op" type message, BitchX would
report the channel had desynched.

 * If your local server send you a "channel doesn't exist" numeric (eg. if
you typed /mode #nosuchchannel to see if it existed), BitchX would not show
it. 


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@71 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2009-09-19 14:24:15 +00:00
parent e338d2d9fd
commit 771b2af59d
2 changed files with 16 additions and 14 deletions

View File

@@ -1,5 +1,10 @@
[Changes 1.2c01 ]
* Fixed two cases where the client was incorrectly deciding that a numeric
originated from a remote server rather than the local server - this caused
BitchX to falsely report channel desynch and incorrectly hide some
numerics. (caf)
* Fixed $servernum() scripting function, it was returning the wrong server
reference in most cases. (caf)