summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index fed2336..084a1bc 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -426,7 +426,7 @@ sendit(notice, auth, who, external)
dest.recip = make_string("", 0);
} else {
strncpy(recipbuf, notice->z_recipient, sizeof(recipbuf));
- recipp = strrchr(&recipbuf, '@');
+ recipp = strrchr(recipbuf, '@');
if (recipp)
sprintf(recipp + 1, "%s", realm_expand_realm(recipp + 1));
dest.recip = make_string(recipbuf, 0);