maybe needed check
This commit is contained in:
parent
7a53fd7faf
commit
c585d124fc
@ -18,8 +18,11 @@ public Plugin myinfo =
|
||||
};
|
||||
|
||||
public void OnPluginStart()
|
||||
{
|
||||
if (!g_hDatabase)
|
||||
{
|
||||
Database.Connect(SQL_OnDatabaseConnect, "Event_notifier");
|
||||
}
|
||||
RegConsoleCmd("sm_event", Command_Event_notifier, "Display infos about the next event");
|
||||
RegConsoleCmd("sm_events", Command_Event_notifier, "Display infos about the next event");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user