diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 18:13:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 18:13:48 +0000 |
commit | 825d9b663c23f9dcaf13ce30f053e47d8e1cc23c (patch) | |
tree | 99e0117a4c99249449444970c9e47517d9cb22ff | |
parent | 9f05ef623a0ac11d57d5cc2e41a66714264d80d3 (diff) |
Fixed typo in shorthand if
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2487 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |