summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 18:13:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-15 18:13:48 +0000
commit825d9b663c23f9dcaf13ce30f053e47d8e1cc23c (patch)
tree99e0117a4c99249449444970c9e47517d9cb22ff /src
parent9f05ef623a0ac11d57d5cc2e41a66714264d80d3 (diff)
Fixed typo in shorthand if
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2487 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands.cpp2
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)