aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-02-09 13:19:50 -0600
committerGravatar Daniel De Graaf2010-08-03 17:32:35 -0400
commit146acdea12ca8a1631d0f98b595535241f6e438d (patch)
tree8c81aa3288067241ff135157224d24709a56278b /src/modules/m_spanningtree/fjoin.cpp
parentRemove duplication of some huge functions (diff)
Implement missing modechange constructors
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index 98108e1f5..a3ceddce2 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -156,7 +156,7 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src
/* Add any modes this user had to the mode stack */
for (std::string::iterator x = modes.begin(); x != modes.end(); ++x)
- modestack.push(irc::modechange(*x, who->nick, true));
+ modestack.push(irc::modechange(*x, MODETYPE_CHANNEL, who->nick, true));
Channel::JoinUser(who, channel.c_str(), true, "", route_back_again->bursting, TS);
}