diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/lists.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 563dfa47..022e305e 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -285,6 +285,7 @@ Lists_MakeMask(const char *Pattern, char *mask, size_t len) strlcpy(mask, Pattern, len - 5); strlcat(mask, "!*@", len); strlcat(mask, at, len); + at--; *at = '@'; } else { /* All parts (nick, user and domain name) are given */ strlcpy(mask, Pattern, len); |