Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Trim spaces from end of commands to autoattach.

  • Loading branch information...
commit c86a61239e1dd0ad06feac051a4044bba30ce9bc 1 parent c646479
Alexey Sokolov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/autoattach.cpp
View
4 modules/autoattach.cpp
@@ -70,7 +70,7 @@ class CChanAttach : public CModule {
bool bHelp = false;
bool bNegated = sMsg.TrimPrefix("!");
CString sChan = sMsg.Token(0);
- CString sHost = sMsg.Token(1, true);
+ CString sHost = sMsg.Token(1);
if (sChan.empty()) {
bHelp = true;
@@ -90,7 +90,7 @@ class CChanAttach : public CModule {
CString sMsg = sLine.Token(1, true);
bool bNegated = sMsg.TrimPrefix("!");
CString sChan = sMsg.Token(0);
- CString sHost = sMsg.Token(1, true);
+ CString sHost = sMsg.Token(1);
if (Del(bNegated, sChan, sHost)) {
PutModule("Removed " + sChan + " from list");
Please sign in to comment.
Something went wrong with that request. Please try again.