diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 19:53:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-22 19:53:04 +0000 |
commit | d4f7afc457f5531a0a6e353d428e79cd99a45de6 (patch) | |
tree | c6ecc2d1fe166a5b49cfb48bfbb7c574351bae2b /src/modules | |
parent | 715dab175374ee11609f013b103c1b0f579192bc (diff) |
Fixed simple typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2832 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_messageflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index 0f0878646..c6c16ad34 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -35,7 +35,7 @@ class floodsettings std::map<userrec*,int> counters; floodsettings() : ban(0), secs(0), lines(0) {}; - floodsettings(bool a, int b, int c) : ban(a), secs(b), lines(c) { reset = time(NULL) + secs }; + floodsettings(bool a, int b, int c) : ban(a), secs(b), lines(c) { reset = time(NULL) + secs; }; void addmessage(userrec* who) { @@ -163,7 +163,7 @@ class ModuleMsgFlood : public Module int ProcessMessages(userrec* user,chanrec* dest,std::string &text) { - floodsettings *f = (floodsettings*)c->GetExt("flood"); + floodsettings *f = (floodsettings*)dest->GetExt("flood"); if (f) { f->addmessage(user); |