mirror of
https://github.com/anope/anope.git
synced 2026-07-07 13:23:12 +02:00
BUILD : 1.7.18 (1237) BUGS : 661 NOTES : Fixed DefCon which did not force DefConChanModes when it was enabled
git-svn-id: svn://svn.anope.org/anope/trunk@1237 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@956 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
df8e1b5f39
commit
ab0dc81bc2
+2
-1
@@ -570,7 +570,8 @@ User *do_nick(const char *source, char *nick, char *username, char *host,
|
||||
* then force check_akill again on them...
|
||||
**/
|
||||
// don't akill on netmerges -Certus
|
||||
if (is_sync(findserver(servlist, server)) && checkDefCon(DEFCON_AKILL_NEW_CLIENTS)) {
|
||||
if (is_sync(findserver(servlist, server))
|
||||
&& checkDefCon(DEFCON_AKILL_NEW_CLIENTS)) {
|
||||
strncpy(mask, "*@", 3);
|
||||
strncat(mask, host, HOSTMAX);
|
||||
alog("DEFCON: adding akill for %s", mask);
|
||||
|
||||
Reference in New Issue
Block a user