aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Attila Molnar2012-06-27 16:29:21 -0700
committerGravatar Attila Molnar2012-06-27 16:29:21 -0700
commitf89e68d78684dab66f9c99aaf8bd8a37ec62bfce (patch)
treecdabc56abaf267f501308be387269bed655ac724 /src/modules
parentMerge pull request #234 from attilamolnar/insp20+chanhistory (diff)
parentFix pending invites not being removed when a channel was deleted or had its T... (diff)
downloadinspircd++-f89e68d78684dab66f9c99aaf8bd8a37ec62bfce.tar.gz
inspircd++-f89e68d78684dab66f9c99aaf8bd8a37ec62bfce.tar.bz2
inspircd++-f89e68d78684dab66f9c99aaf8bd8a37ec62bfce.zip
Merge pull request #235 from attilamolnar/insp20+invitefix
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index 50775be1d..929ace474 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -105,6 +105,7 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src
// while the name is equal in case-insensitive compare, it might differ in case; use the remote version
chan->name = channel;
chan->age = TS;
+ chan->ClearInvites();
param_list.push_back(channel);
this->RemoveStatus(ServerInstance->FakeClient, param_list);
}