aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-15 12:55:27 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-15 12:55:27 +0100
commitbf02a679c61b0f030ee8f2f01698699a7775f7d5 (patch)
tree0b890c2dd7fb03aa151df76c99146a765ca41adb /irc.c
parent11e090b246a86deb7b882217772b90fc52d7e4f6 (diff)
parent547f9373fe4cda601e53759500d189dd580a0d78 (diff)
Merged Jelmer's pluginable tree (mainly useful for the Win32 port).
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index d976410e..29ac2a11 100644
--- a/irc.c
+++ b/irc.c
@@ -1185,7 +1185,7 @@ void irc_whois( irc_t *irc, char *nick )
if( u->gc )
irc_reply( irc, 312, "%s %s.%s :%s network", u->nick, u->gc->user->username,
- *u->gc->user->proto_opt[0] ? u->gc->user->proto_opt[0] : "", proto_name[u->gc->user->protocol] );
+ *u->gc->user->proto_opt[0] ? u->gc->user->proto_opt[0] : "", u->gc->prpl->name );
else
irc_reply( irc, 312, "%s %s :%s", u->nick, irc->myhost, IRCD_INFO );