summaryrefslogtreecommitdiff
path: root/src/modules/m_restrictchans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 11:48:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-26 11:48:09 +0000
commite2e581f0d3d5d844dc4b5210f566e5a5571a0570 (patch)
tree7e20006a6f4795a1fdf5e853dbe7a0941f917b32 /src/modules/m_restrictchans.cpp
parent3c24bb87211772859b6a9b74aefa85d57b07dfa7 (diff)
Server* Srv marked static or moved to private member of module class in all modules, paves way for removal of static-build-munging-regexp that breaks +eI
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3330 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
-rw-r--r--src/modules/m_restrictchans.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp
index d4fbdfbb5..b6d34bf25 100644
--- a/src/modules/m_restrictchans.cpp
+++ b/src/modules/m_restrictchans.cpp
@@ -25,10 +25,9 @@ using namespace std;
/* $ModDesc: Only opers may create new channels if this module is loaded */
-Server *Srv;
-
class ModuleRestrictChans : public Module
{
+ Server* Srv;
std::map<irc::string,int> allowchans;