Age | Commit message (Collapse) | Author |
|
|
|
Do not take the string case into account when comparing the command
name.
|
|
Early exit, simpler code.
|
|
If an invalid CAP is found we keep going by parsing the next one.
|
|
When a CAP DEL is received the key/val pair is not stored in the
hashtable at all so just free them when we're done.
|
|
Stylistic stuff, please ignore.
|
|
Always create the cap_supported table when a CAP event is received.
|
|
There's no need to use the latter.
|
|
We forgot to free the link and the data, oops.
|
|
This is the last piece of the puzzle.
|
|
The parsing logic isn't too elegant because of the optional parameter
used for signaling if a response has a continuation one.
|
|
Glib doesn't like that and shows a harmless warning.
|
|
This is also needed for CAP NEW and CAP DEL.
|
|
This is a prerequisite for the IRC v3.2 compliance.
|
|
handle an already used nick different from the one we send
|
|
move altnick check before the nick correction code
|
|
|
|
Fix MODE parameter parsing
|
|
|
|
|
|
To maintain C89 compatibility
|
|
|
|
|
|
This is to fix #601. The function used to extract the mode string
assumed that ":" would only occur in a particular spot. This lead to the
possibility that ":" could be treated as part of things like nicknames
or mode arguments, where it should have been stripped as part of
protocol escaping.
|
|
Prevent a OOB read when parsing IRCNet ! channels
See merge request irssi/irssi!22
|
|
Don't proceed with cmd_msg if there was an error splitting msg
See merge request irssi/irssi!21
|
|
This avoids undefined behavior in functions that call these split
functions and expect an array back instead of just a NULL pointer.
|
|
Fix use after free when channel is destroyed inbetween being synced
See merge request irssi/irssi!19
|
|
Make sure the string has enough data.
Fixes #16
|
|
|
|
|
|
It is possible for rec to be NULL in query_remove_all, resulting in a
segfault. So return without doing anything if rec is NULL.
|
|
the chanquery needs to be removed in any case if a channel rec is
destroyed, regardless of any state
Fixes GL#13
|
|
There was no easy way for the user to disable the SASL authentication or
to clear the username/password once the network was created.
Closes #718
|
|
We also get rid of an allocation in the process of doing so.
|
|
|
|
Follow g_strsplit with call to g_strfreev
|
|
|
|
|
|
Sync to master
See merge request !6
|
|
'security'
avoid server_disconnect
See merge request !4
|
|
Process the nick changes in queries before the PRIVMSG is handled.
|
|
Closes #1
|
|
Closes #4
|
|
Otherwise we end up with the message in the status window since the
frontend knows jack shit about the casemapping option when it tries to
find the associated window for the query.
|
|
|
|
This patch changes the internal name of SSL to TLS. We also add -tls_*
options to /CONNECT and /SERVER, but make sure that the -ssl_* versions
of the commands continue to work like before.
|
|
Fixes a problem where the field would end up as a negative number when
exposed to the perl scripts.
And move it near the other bit-packed fields so we take advantage of the
packing.
|
|
SASL: handle fragmentation
|
|
The IRCv3 SASL extension says that AUTHENTICATION payloads of exactly
400 bytes in length indicate that the message is fragmented and will
continue in a subsequent message. Handle the reassembly and splitting of
these messages so that we are compliant with the specification.
|