aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-11-07 17:16:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-11-07 17:16:18 +0100
commit7b23afdeead5b873b3e1cfc5ab29ecbf35b8c0ac (patch)
tree975c4b3725525244353f722b60fef54b79628d92 /irc.c
parentfe51bcf0ae238e6fde4400b3dd17ddf99f77ae2a (diff)
Migrate my pluginable branch to use Wilmers' branch as parent
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 91b82548..a2e24cc8 100644
--- a/irc.c
+++ b/irc.c
@@ -1152,7 +1152,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 );