1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:43:13 +02:00

Marked mode +f on inspircd1.2 as minusnoarg

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2797 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-02-28 05:39:50 +00:00
parent 9edede4f3a
commit 393b5ab26e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ class CoreExport ChannelModeKey : public ChannelModeParam
class ChannelModeFlood : public ChannelModeParam
{
public:
ChannelModeFlood(char modeChar) : ChannelModeParam(CMODE_FLOOD, modeChar) { }
ChannelModeFlood(char modeChar, bool minusNoArg = false) : ChannelModeParam(CMODE_FLOOD, modeChar, minusNoArg) { }
bool IsValid(const std::string &value);
};
+1 -1
View File
@@ -1044,7 +1044,7 @@ int anope_event_capab(const char *source, int ac, const char **av)
ModeManager::AddChannelMode(new ChannelModeParam(CMODE_REDIRECT, true));
continue;
case 'f':
ModeManager::AddChannelMode(new ChannelModeFlood('f'));
ModeManager::AddChannelMode(new ChannelModeFlood('f', true));
continue;
case 'j':
ModeManager::AddChannelMode(new ChannelModeParam(CMODE_JOINFLOOD, 'j', true));