Browse Source

Bug fix:

Announcements timer is now properly killed when rehashed.
pull/3/head
JustinAJ 10 years ago
parent
commit
3d7919e1b5
  1. 1
      RenX.Announcements/RenX_Announcements.cpp

1
RenX.Announcements/RenX_Announcements.cpp

@ -63,6 +63,7 @@ void RenX_AnnouncementsPlugin::announce(unsigned int)
int RenX_AnnouncementsPlugin::OnRehash() int RenX_AnnouncementsPlugin::OnRehash()
{ {
RenX_AnnouncementsPlugin::timer->kill();
RenX_AnnouncementsPlugin::announcementsFile.unload(); RenX_AnnouncementsPlugin::announcementsFile.unload();
return RenX_AnnouncementsPlugin::init(); return RenX_AnnouncementsPlugin::init();
} }

Loading…
Cancel
Save