maybe needed check
This commit is contained in:
parent
7a53fd7faf
commit
c585d124fc
@ -19,7 +19,10 @@ public Plugin myinfo =
|
|||||||
|
|
||||||
public void OnPluginStart()
|
public void OnPluginStart()
|
||||||
{
|
{
|
||||||
Database.Connect(SQL_OnDatabaseConnect, "Event_notifier");
|
if (!g_hDatabase)
|
||||||
|
{
|
||||||
|
Database.Connect(SQL_OnDatabaseConnect, "Event_notifier");
|
||||||
|
}
|
||||||
RegConsoleCmd("sm_event", Command_Event_notifier, "Display infos about the next event");
|
RegConsoleCmd("sm_event", Command_Event_notifier, "Display infos about the next event");
|
||||||
RegConsoleCmd("sm_events", 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