projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wed Mar 7 18:38:18 CET 2007 Jochen Eisinger <coffee@silcnet.org>
[silc.git]
/
apps
/
irssi
/
src
/
silc
/
core
/
silc-channels.c
diff --git
a/apps/irssi/src/silc/core/silc-channels.c
b/apps/irssi/src/silc/core/silc-channels.c
index 160e86cb9ce1266f6325af2a519be610feff14c2..4311cca5a8963f3b0496005479764076f19c293d 100644
(file)
--- a/
apps/irssi/src/silc/core/silc-channels.c
+++ b/
apps/irssi/src/silc/core/silc-channels.c
@@
-135,7
+135,7
@@
static void silc_channels_join(SILC_SERVER_REC *server,
schannel = channel_setup_find(channel, server->connrec->chatnet);
if (key && *key != '\0')
g_string_sprintfa(tmpstr, "%s %s", channel, key);
schannel = channel_setup_find(channel, server->connrec->chatnet);
if (key && *key != '\0')
g_string_sprintfa(tmpstr, "%s %s", channel, key);
- else if (schannel->password && schannel->password[0] != '\0')
+ else if (schannel
&& schannel
->password && schannel->password[0] != '\0')
g_string_sprintfa(tmpstr, "%s %s", channel, schannel->password);
else
g_string_sprintfa(tmpstr, "%s", channel);
g_string_sprintfa(tmpstr, "%s %s", channel, schannel->password);
else
g_string_sprintfa(tmpstr, "%s", channel);