Permalink
Browse files

Merge pull request #535 from anders/qinvite

Q module: Don't send one JOIN per invite.
  • Loading branch information...
2 parents a180028 + 4db8d26 commit e3bb292d252f4d8e23e087d35e74b0145cce6007 @kylef kylef committed Apr 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/q.cpp
View
@@ -274,7 +274,7 @@ class CQModule : public CModule {
if (!Nick.NickEquals("Q") || !Nick.GetHost().Equals("CServe.quakenet.org"))
return CONTINUE;
if (m_bJoinOnInvite)
- PutIRC("JOIN " + sChan);
+ m_pNetwork->AddChan(sChan, false);
return CONTINUE;
}

0 comments on commit e3bb292

Please sign in to comment.