mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed plugins_command_run
This commit is contained in:
parent
dae4244306
commit
dc896b27d4
@ -1107,7 +1107,7 @@ cmd_execute(const char * const command, const char * const inp)
|
||||
g_strfreev(args);
|
||||
return result;
|
||||
}
|
||||
} else if (plugins_command_run(inp)) {
|
||||
} else if (plugins_run_command(inp)) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return cmd_execute_default(inp);
|
||||
|
@ -45,7 +45,7 @@ callbacks_add_timed(PluginTimedFunction *timed_function)
|
||||
}
|
||||
|
||||
gboolean
|
||||
plugins_command_run(const char * const input)
|
||||
plugins_run_command(const char * const input)
|
||||
{
|
||||
gchar **split = g_strsplit(input, " ", -1);
|
||||
|
||||
|
@ -28,7 +28,7 @@ void plugins_on_start(void);
|
||||
void plugins_on_connect(void);
|
||||
void plugins_on_message(const char * const jid, const char * const message);
|
||||
void plugins_shutdown(void);
|
||||
gboolean plugins_command_run(const char * const cmd);
|
||||
gboolean plugins_run_command(const char * const cmd);
|
||||
void plugins_run_timed(void);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user