diff options
| author | 2014-12-10 20:33:53 +0100 | |
|---|---|---|
| committer | 2014-12-10 20:33:53 +0100 | |
| commit | 12d880f2d51223159fd843a2baeef610b320e513 (patch) | |
| tree | dc4b0b0e98d6cf2f4d6615b316ac108be96a6ae8 /irc | |
| parent | a31228ce130210f5b6742ff8a71bcd26869ca3d8 (diff) | |
| download | OneRoll-12d880f2d51223159fd843a2baeef610b320e513.tar.gz OneRoll-12d880f2d51223159fd843a2baeef610b320e513.zip | |
Simplified the command before give it to the parser.
Diffstat (limited to 'irc')
| -rw-r--r-- | irc/mainwindow.cpp | 2 |
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(); |