projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e812537
)
Reversed channel order in remote whois so it matches ircu's order.
author
ThiefMaster
<thiefmaster@gamesurge.net>
Tue, 29 May 2007 22:32:32 +0000
(
00:32
+0200)
committer
Michael Poole
<mdpoole@troilus.org>
Fri, 27 Jul 2007 01:38:38 +0000
(21:38 -0400)
src/proto-p10.c
patch
|
blob
|
history
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index 802351049d314e928644fc2a2645a727aad16ac9..8a5a76de57033f3545c60032dc1fc71ffa588a8c 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-918,9
+918,9
@@
static CMD_FUNC(cmd_whois)
mlen = strlen(self->name) + strlen(from->nick) + 12 + strlen(who->nick);
len = 0;
*buf = '\0';
- for (i =
0; i < who->channels.used; i++
)
+ for (i =
who->channels.used; i > 0;
)
{
- mn = who->channels.list[i];
+ mn = who->channels.list[
--
i];
if (!IsOper(from) && (mn->channel->modes & (MODE_PRIVATE | MODE_SECRET)) && !GetUserMode(mn->channel, from))
continue;