mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Merge branch 'nonick' into 'security'
please give us nicks See merge request irssi/irssi!31
This commit is contained in:
commit
41e2b535ef
1 changed files with 2 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ static void sig_message_public(SERVER_REC *server, const char *msg,
|
||||||
{
|
{
|
||||||
CHANNEL_REC *channel;
|
CHANNEL_REC *channel;
|
||||||
int own;
|
int own;
|
||||||
|
g_return_if_fail(nick != NULL);
|
||||||
|
|
||||||
channel = channel_find(server, target);
|
channel = channel_find(server, target);
|
||||||
if (channel != NULL) {
|
if (channel != NULL) {
|
||||||
|
|
@ -185,6 +186,7 @@ static void sig_message_join(SERVER_REC *server, const char *channel,
|
||||||
const char *nick, const char *address)
|
const char *nick, const char *address)
|
||||||
{
|
{
|
||||||
CHANNEL_REC *chanrec;
|
CHANNEL_REC *chanrec;
|
||||||
|
g_return_if_fail(nick != NULL);
|
||||||
|
|
||||||
chanrec = channel_find(server, channel);
|
chanrec = channel_find(server, channel);
|
||||||
if (chanrec != NULL)
|
if (chanrec != NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue