diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 22:47:32 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 22:47:32 +0000 |
commit | 6a225f749e21c4efc6ac9053c86fce5c25516f60 (patch) | |
tree | ebcd9dbb7c5f1e01375cfc887a0a79b89e5f8c80 /src/modes | |
parent | 7f4ee2f9f2e3af860d4c4eaa19d8f12611e5fe83 (diff) |
Typoed a const
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4157 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes')
-rw-r--r-- | src/modes/cmode_t.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/cmode_t.cpp b/src/modes/cmode_t.cpp index ed4285f0c..836c86f34 100644 --- a/src/modes/cmode_t.cpp +++ b/src/modes/cmode_t.cpp @@ -10,9 +10,9 @@ ModeChannelTopicOps::ModeChannelTopicOps() : ModeHandler('t', 0, 0, false, MODET ModeAction ModeChannelTopicOps::OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - if (channel->modes[CM_OPTOPIC] != adding) + if (channel->modes[CM_TOPICLOCK] != adding) { - channel->modes[CM_OPTOPIC] = adding; + channel->modes[CM_TOPICLOCK] = adding; return MODEACTION_ALLOW; } else |