mirror of
https://github.com/anope/anope.git
synced 2026-06-28 14:56:38 +02:00
Rewrote all of the old C style flag systems into a new Flag class which everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
void IRCDProto::SendMessageInternal(BotInfo *bi, const char *dest, const char *buf)
|
||||
{
|
||||
if (NSDefFlags & NI_MSG)
|
||||
if (NSDefFlags.HasFlag(NI_MSG))
|
||||
SendPrivmsgInternal(bi, dest, buf);
|
||||
else
|
||||
SendNoticeInternal(bi, dest, buf);
|
||||
|
||||
Reference in New Issue
Block a user