Browse Source

* Fixed bot not updating it's hostmask when reconnecting to server

svn: 1931
Bryan Drewery 21 năm trước cách đây
mục cha
commit
b61acee6cd
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      doc/UPDATES
  2. 1 0
      src/mod/server.mod/servmsg.c

+ 1 - 0
doc/UPDATES

@@ -43,6 +43,7 @@ Lines prefixxed with '-' were disabled before release and are not finishsed, or
 * Users who are v|o in a +private chan are now voiced, as before |v was needed.
 * Added channel flag +|-botbitch, when set only bots will be allowed to be opped, users be auto-deopped.
 * chanset -bitch/-private/-botbitch/+botbitch/+closed/+private will now trigger bots to recheck channel (op/deop/kick people)
+* Fixed bot not updating it's hostmask when reconnecting to server
 
 1.2.2
 * Don't sanity check flags for users on DCC CHAT if they are on the bot via .botcmd.

+ 1 - 0
src/mod/server.mod/servmsg.c

@@ -939,6 +939,7 @@ static void disconnect_server(int idx, int dolost)
   serv = -1;
   servidx = -1;
   server_online = 0;
+  checked_hostmask = 0;
   floodless = 0;
   botuserhost[0] = 0;
   if (dolost) {