Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/application.cc4
-rw-r--r--src/core/application.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/application.cc b/src/core/application.cc
index de59d2a..0e552ff 100644
--- a/src/core/application.cc
+++ b/src/core/application.cc
@@ -192,7 +192,7 @@ void Application::init(int count, char **arguments)
func = Func::add("quit", Application::func_quit);
func->set_info("exit the application");
- func = Func::add("load", Application::func_load);
+ func = Func::add("module", Application::func_module);
func->set_info("[string] load a game module");
func = Func::add("connect", Application::func_connect);
@@ -575,7 +575,7 @@ void Application::func_rcon(std::string const &args)
}
}
-void Application::func_load(std::string const &args)
+void Application::func_module(std::string const &args)
{
std::string name(args);
aux::to_label(name);
diff --git a/src/core/application.h b/src/core/application.h
index e846b1f..3f99187 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -130,8 +130,8 @@ protected:
static void func_disconnect(std::string const &args);
static void func_shout(std::string const &args);
static void func_say(std::string const &args);
+ static void func_module(std::string const &args);
static void func_msg(std::string const &args);
- static void func_load(std::string const &args);
static void func_rcon(std::string const &args);
static void func_info(std::string const &args);
};