summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-15 00:20:28 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-19 19:40:02 +0200
commit5288eb159451aea53168c1a812a72594801f6421 (patch)
treef8b21dc166a573796c87d67de63e815e3ccb9d66 /src/modules
parentac55270a082e6d8f5332fa939960553bac8decae (diff)
Seperate ModeReference into ChanModeReference and UserModeReference
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_banredirect.cpp2
-rw-r--r--src/modules/m_check.cpp2
-rw-r--r--src/modules/m_spanningtree/netburst.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index a772794ab..496b0c2c9 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -44,7 +44,7 @@ typedef std::vector<BanRedirectEntry> BanRedirectList;
class BanRedirect : public ModeWatcher
{
- ModeReference ban;
+ ChanModeReference ban;
public:
SimpleExtItem<BanRedirectList> extItem;
BanRedirect(Module* parent)
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 562a9f661..97d747c5c 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -27,7 +27,7 @@
*/
class CommandCheck : public Command
{
- ModeReference ban;
+ ChanModeReference ban;
public:
CommandCheck(Module* parent)
: Command(parent,"CHECK", 1)
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index 89c8046f5..39056b1fe 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -108,7 +108,7 @@ void TreeSocket::SendFJoins(Channel* c)
}
this->WriteLine(line);
- ModeReference ban(NULL, "ban");
+ ChanModeReference ban(NULL, "ban");
static_cast<ListModeBase*>(*ban)->DoSyncChannel(c, Utils->Creator, this);
}