summaryrefslogtreecommitdiff
path: root/modules/m_admin.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-21 17:47:28 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-01-21 17:47:28 +0000
commita6207f2de6ef26fa2c733ed613a45a91c8e57136 (patch)
tree7c052f8544a8519cd8b53226aa11a683d43fc768 /modules/m_admin.c
parent5f7e120fc961e63cefed1b3e322aa8712b328cdd (diff)
- Fixed improper use of the ID_or_name macro in several places
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2889 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_admin.c')
-rw-r--r--modules/m_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_admin.c b/modules/m_admin.c
index fb039a5..2828287 100644
--- a/modules/m_admin.c
+++ b/modules/m_admin.c
@@ -44,8 +44,8 @@
static int
do_admin(struct Client *source_p)
{
- const char *me_name = ID_or_name(&me, source_p->from);
- const char *nick = ID_or_name(source_p, source_p->from);
+ const char *me_name = ID_or_name(&me, source_p);
+ const char *nick = ID_or_name(source_p, source_p);
sendto_realops_flags(UMODE_SPY, L_ALL, SEND_NOTICE,
"ADMIN requested by %s (%s@%s) [%s]",