Permalink
Browse files

Q module: Add channels invited to by Q when JoinOnInvite is enabled.

  • Loading branch information...
1 parent 90b4c88 commit 4db8d264bc582c562c68d01238310abac59ecf29 @anders anders committed Apr 22, 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 4db8d26

Please sign in to comment.