Convert a C++-style comment to C style for -ansi compilation mode.
authorMichael Poole <mdpoole@troilus.org>
Mon, 15 Feb 2010 21:01:56 +0000 (16:01 -0500)
committerMichael Poole <mdpoole@troilus.org>
Mon, 15 Feb 2010 21:01:56 +0000 (16:01 -0500)
src/nickserv.c (opt_fakehost): Convert a // comment to a /* */ comment.

src/nickserv.c

index a48565d6b1a6c085643099bd8280a634d309e590..4ba42507876a34630242cff2f97f1ff6a6734a12 100644 (file)
@@ -2672,7 +2672,7 @@ static OPTION_FUNC(opt_fakehost)
         safestrncpy(mask, argv[1], sizeof(mask));
 
         if ((host = strrchr(mask, '@')) && host != mask) {
-            // If ident@host was used and the user doesn't have access to set idents, do not change anything.
+            /* If ident@host was used and the user doesn't have access to set idents, do not change anything. */
             if (!oper_has_access(user, nickserv, nickserv_conf.set_fakeident_level, 0)) {
                 host = NULL;
                 ident = NULL;