aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-14 02:17:25 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-14 02:17:25 +0100
commit703f0f7f4622194bce8023712a3a9966be6f8827 (patch)
tree311125ae518c2b277845dc78ec62fc9553081bdf /irc.c
parent22bf64eab8a79352317ee190cddfeef3011aa8dc (diff)
parent568aaf7ce17a4db2dddd13f8baed02a6d2757eb6 (diff)
Merge my pluginable branch
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 );