mirror of
https://github.com/anope/anope.git
synced 2026-07-05 19:43:13 +02:00
Rewrote all of the defcon code, and moved most of it to os_defcon. This fixes defcon to have the ability to use modes introduced to Anope at a later time than on startup (eg, from the IRCd), amongst other things
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2597 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -822,9 +822,6 @@ void req_send_memos(User *u, char *vIdent, char *vHost)
|
||||
char host[BUFSIZE];
|
||||
std::list<std::pair<std::string, std::string> >::iterator it;
|
||||
|
||||
if (checkDefCon(DEFCON_NO_NEW_MEMOS))
|
||||
return;
|
||||
|
||||
if (vIdent)
|
||||
snprintf(host, sizeof(host), "%s@%s", vIdent, vHost);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user