summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
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)
{