From 56800d410333084d3b8e527bc91422aab7e19477 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 29 Aug 2007 18:40:53 +0000 Subject: BUILD : 1.7.19 (1288) BUGS : 761 NOTES : Fixing up a comment from the last commit git-svn-id: svn://svn.anope.org/anope/trunk@1288 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1006 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_sgline.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/os_sgline.c b/src/core/os_sgline.c index 7185b885f..bd3181b39 100644 --- a/src/core/os_sgline.c +++ b/src/core/os_sgline.c @@ -115,7 +115,9 @@ int do_sgline(User * u) } if (mask && (reason = strtok(NULL, ""))) { - /* Clean up the last character of the mask if it is a space. */ + /* Clean up the last character of the mask if it is a space + * See bug #761 + */ size_t masklen = strlen(mask); if (mask[masklen - 1] == ' ') mask[masklen - 1] = '\0'; -- cgit