diff options
| author | 2010-10-10 20:03:21 +0000 | |
|---|---|---|
| committer | 2010-10-10 20:03:21 +0000 | |
| commit | c87e99c1f0ba253ccfffaff3319c121cc60ef741 (patch) | |
| tree | 883cfadabe694b01fb1594cbc9f0ac91b486c47e /src/modules/channelsjoin/channelsjoinwindow.cpp | |
| parent | Rework /popup so it relays the parameters correctly to /popup.show. Replace t... (diff) | |
| download | KVIrc-c87e99c1f0ba253ccfffaff3319c121cc60ef741.tar.gz KVIrc-c87e99c1f0ba253ccfffaff3319c121cc60ef741.tar.bz2 KVIrc-c87e99c1f0ba253ccfffaff3319c121cc60ef741.zip | |
Reunited all the kvs-escape related functions is a single method supporting different flags;
small fixes to defscript and inputbar escaping in userfriendlymode
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5057 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/channelsjoin/channelsjoinwindow.cpp')
| -rw-r--r-- | src/modules/channelsjoin/channelsjoinwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/channelsjoin/channelsjoinwindow.cpp b/src/modules/channelsjoin/channelsjoinwindow.cpp index 0b5919c85..eeef183fa 100644 --- a/src/modules/channelsjoin/channelsjoinwindow.cpp +++ b/src/modules/channelsjoin/channelsjoinwindow.cpp @@ -29,6 +29,7 @@ #include "kvi_selectors.h" #include "kvi_app.h" #include "kvi_string.h" +#include "kvi_qstring.h" #include "kvi_iconmanager.h" #include "kvi_console.h" #include "kvi_regchan.h" @@ -301,6 +302,9 @@ void KviChannelsJoinWindow::joinClicked() if(szTmp.isEmpty()) return; + KviQString::escapeKvs(&szTmp); + KviQString::escapeKvs(&szPass); + QString szCmd = "join "; szCmd += szTmp; szCmd += " "; @@ -327,6 +331,7 @@ void KviChannelsJoinWindow::regClicked() if(szTmp.isEmpty()) return; + KviQString::escapeKvs(&szTmp); QString szCmd = "regchan.add "; szCmd += szTmp; |
