This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".
The branch, u2_10_12_branch has been updated
via f4a821d94866ba46f7403c667e5cc07c840126f4 (commit)
via 8dc7beb97e7cab67ec2637a22ee6ccada32e5268 (commit)
from 8d9ca11edf2117a5db1d38404b87822e88598f11 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f4a821d94866ba46f7403c667e5cc07c840126f4
Author: Michael Poole <[email protected]>
Date: Fri Oct 21 21:55:35 2016 -0400
WHO: Fix matching for things like "WHO ident u".
Fixes SF#169.
diff --git a/ircd/m_who.c b/ircd/m_who.c
index 49df475..08ccd8d 100644
--- a/ircd/m_who.c
+++ b/ircd/m_who.c
@@ -314,7 +314,7 @@ int m_who(struct Client* cptr, struct Client* sptr, int
parc, char* parv[])
commas = (mask && strchr(mask, ','));
/* First treat mask as a list of plain nicks/channels */
- if (mask)
+ if (mask && (commas || (matchsel & (WHO_FIELD_NIC | WHO_FIELD_CHA))))
{
strcpy(mymask, mask);
for (p = 0, nick = ircd_strtok(&p, mymask, ","); nick;
commit 8dc7beb97e7cab67ec2637a22ee6ccada32e5268
Author: Michael Poole <[email protected]>
Date: Fri Oct 21 21:41:13 2016 -0400
find_conf_exact: Allow empty cli_username() to match tmp->username.
This reverts the behavior of Operator host = "*@192.168.1.1"; to its
previous behavior, where un-idented clients could match. Now, just as
for Client blocks, host = "@192.168.1.1"; will only match un-idented
clients.
diff --git a/ircd/s_conf.c b/ircd/s_conf.c
index 0c365ad..1e8ac1e 100644
--- a/ircd/s_conf.c
+++ b/ircd/s_conf.c
@@ -643,9 +643,7 @@ struct ConfItem* find_conf_exact(const char* name, struct
Client *cptr, int stat
if (!(tmp->status & statmask) || !tmp->name || !tmp->host ||
0 != ircd_strcmp(tmp->name, name))
continue;
- if (tmp->username
- && (EmptyString(cli_username(cptr))
- || match(tmp->username, cli_username(cptr))))
+ if (tmp->username && match(tmp->username, cli_username(cptr)))
continue;
if (tmp->addrbits < 0)
{
-----------------------------------------------------------------------
Summary of changes:
ircd/m_who.c | 2 +-
ircd/s_conf.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
hooks/post-receive
--
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches