[prev in list] [next in list] [prev in thread] [next in thread]
List: konversation-devel
Subject: Re: Bug 340748 - Disable auto-WHO for Twitch servers.
From: Peter Simonsson <peter.simonsson () gmail ! com>
Date: 2018-11-06 16:38:30
Message-ID: CAO_k-hG5wb9Tpx7oKitpvGPOhJWjuf5kDC2ivF6J2aLu_zGGug () mail ! gmail ! com
[Download RAW message or body]
Hi,
On Tue, Nov 6, 2018 at 5:19 PM Jimi Huotari <chiitoo@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
[Attachment #3 (text/html)]
<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br><div class="gmail_quote"><div \
dir="ltr">On Tue, Nov 6, 2018 at 5:19 PM Jimi Huotari <<a \
href="mailto:chiitoo@gentoo.org">chiitoo@gentoo.org</a>> wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hies!<br> <br>
I was looking into bug 340748 [1] again finally, and going through the<br>
code wondering if there already is a mechanism to use for grabbing the<br>
'421' (as mentioned in comment 3), and doing something with it, but<br>
couldn't find it if it's there. Is it?<br></blockquote><div>Have a look in \
inputfilter.cpp. There's a function void InputFilter::parseNumeric(const QString \
&prefix, int command, QStringList &parameterList, const QHash<QString, QString> \
&messageTags)</div><div>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.</div><div><br></div><div>Hopefully this is enough to get you started at \
least...</div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br \
class="gmail-Apple-interchange-newline">//Peter Simonsson</div></div></div><div> \
</div></div></div></div></div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic