From 825d9b663c23f9dcaf13ce30f053e47d8e1cc23c Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Dec 2005 18:13:48 +0000 Subject: Fixed typo in shorthand if git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2487 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commands.cpp b/src/commands.cpp index 88248e06a..1a5eb81d0 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -95,7 +95,7 @@ char* CleanFilename(char* name) { char* p = name + strlen(name); while ((p != name) && (*p != '/')) p--; - p != name ? return ++p : return p; + return (p != name ? ++p : p); } void handle_join(char **parameters, int pcnt, userrec *user) -- cgit v1.2.3