aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/irc
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2014-12-10 20:33:53 +0100
committerRenaud G <renaud@rolisteam.org>2014-12-10 20:33:53 +0100
commit12d880f2d51223159fd843a2baeef610b320e513 (patch)
treedc4b0b0e98d6cf2f4d6615b316ac108be96a6ae8 /irc
parenta31228ce130210f5b6742ff8a71bcd26869ca3d8 (diff)
downloadOneRoll-12d880f2d51223159fd843a2baeef610b320e513.tar.gz
OneRoll-12d880f2d51223159fd843a2baeef610b320e513.zip
Simplified the command before give it to the parser.
Diffstat (limited to 'irc')
-rw-r--r--irc/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/mainwindow.cpp b/irc/mainwindow.cpp
index 9f559fa..cc72b0e 100644
--- a/irc/mainwindow.cpp
+++ b/irc/mainwindow.cpp
@@ -56,7 +56,7 @@ void MainWindow::readData()
if(list.size()==2)
{
QString cmd = list[1];
- if(m_parser->parseLine(cmd))
+ if(m_parser->parseLine(cmd.simplified()))
{
m_parser->Start();
QString result = m_parser->displayResult();