X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreuserinputhandler.h;h=801024d64bda07d70bdda9fdb3ae0b160d814e09;hp=4cb2eb843bd86e4858afeac94dc01f097b12f38b;hb=6f0a153a674317d77233139fc50a2985af86e36e;hpb=e1801627e8e13e7eacbf0c59622a6adf20fcd4cd diff --git a/src/core/coreuserinputhandler.h b/src/core/coreuserinputhandler.h index 4cb2eb84..801024d6 100644 --- a/src/core/coreuserinputhandler.h +++ b/src/core/coreuserinputhandler.h @@ -77,13 +77,13 @@ protected: private: void banOrUnban(const BufferInfo &bufferInfo, const QString &text, bool ban); - void putPrivmsg(const QByteArray &target, const QByteArray &message, bool encrypted); + void putPrivmsg(const QByteArray &target, const QByteArray &message, bool isEncrypted); int lastParamOverrun(const QString &cmd, const QList ¶ms); - #ifdef HAVE_QCA2 - QByteArray encrypt(const QByteArray &target, QByteArray &message); - #endif - +#ifdef HAVE_QCA2 + QByteArray encrypt(const QString &target, const QByteArray &message) const; +#endif + struct Command { BufferInfo bufferInfo; QString command;