summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-15 20:35:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-15 20:35:11 +0000
commitd920a2506f430ac466d2e9e33a4810c7dd92534d (patch)
treeef84186c37869f5134a9b587664a89505f31c7b1 /src/commands.cpp
parent67b93b1938685bc30e3d6b6f46699c65bbab1694 (diff)
CleanFilename movage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2807 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index de8d87318..e9b921beb 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -89,12 +89,6 @@ extern std::vector<userrec*> local_users;
// by an integer, meaning there is no need for a scan/search operation.
extern userrec* fd_ref_table[MAX_DESCRIPTORS];
-char* CleanFilename(char* name)
-{
- char* p = name + strlen(name);
- while ((p != name) && (*p != '/')) p--;
- return (p != name ? ++p : p);
-}
void split_chlist(userrec* user, userrec* dest, std::string &cl)
{