diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-11 15:21:55 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-11 15:21:55 +0000 |
commit | f06eed98099e6d9ba32aeb6f247e85e0914113d6 (patch) | |
tree | 0bb09c392ce0c6de3cd480133b23263cf4fe4370 /src | |
parent | 5bfc23a07ea7a6a522783152ae1c7930f7822760 (diff) |
Fixed restarting Anope on Windows
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2551 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 4ba42f621..69ea0b321 100644 --- a/src/main.c +++ b/src/main.c @@ -326,7 +326,7 @@ std::string GetFullProgDir(char *argv0) if (GetModuleFileName(NULL, buffer, PATH_MAX)) { std::string fullpath = buffer; - services_dir = fullpath.substr(orig_cwd.size() + 1); + services_bin = fullpath.substr(orig_cwd.size() + 1); std::string::size_type n = fullpath.rfind("\\" SERVICES_BIN); return std::string(fullpath, 0, n); } |