diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-02 22:17:40 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-02 22:17:40 +0000 |
commit | 6a63702d274731e9a8d8f651795d4c4cf4b137b3 (patch) | |
tree | cc20d96e8f0bd874ab692d3f3bffe836b3a1965a /src/modules | |
parent | 7dadb07a19280936147b91144f27d8528ba35c7c (diff) |
Just use string literal instead of declaring a var for it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9277 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index c811d985f..a1f1fe960 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -18,8 +18,6 @@ #define PROTECT_VALUE 40000 #define FOUNDER_VALUE 50000 -const char* fakevalue = "on"; - /* When this is set to true, no restrictions apply to setting or * removal of +qa. This is used while unloading so that the server * can freely clear all of its users of the modes. @@ -140,7 +138,7 @@ class FounderProtectBase { if (!theuser->GetExt(item, dummyptr)) { - theuser->Extend(item, fakevalue); + theuser->Extend(item, "on"); parameter = theuser->nick; return MODEACTION_ALLOW; } |