Bug 340748 - Disable auto-WHO for Twitch servers.
Peter Simonsson
peter.simonsson at gmail.com
Tue Nov 6 16:38:30 GMT 2018
Hi,
On Tue, Nov 6, 2018 at 5:19 PM Jimi Huotari <chiitoo at gentoo.org> wrote:
> Hies!
>
> I was looking into bug 340748 [1] again finally, and going through the
> code wondering if there already is a mechanism to use for grabbing the
> '421' (as mentioned in comment 3), and doing something with it, but
> couldn't find it if it's there. Is it?
>
Have a look in inputfilter.cpp. There's a function void
InputFilter::parseNumeric(const QString &prefix, int command, QStringList
¶meterList, const QHash<QString, QString> &messageTags)
in there (at least in the master branch) that handles all the numeric reply
codes. Command 421 is defined as ERR_UNKNOWNCOMMAND in replycodes.h.
Hopefully this is enough to get you started at least...
//Peter Simonsson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konversation-devel/attachments/20181106/797fa379/attachment.html>
More information about the Konversation-devel
mailing list