Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Request] ms_clearall  (Read 4109 times)

0 Members and 1 Guest are viewing this topic.

Master

  • Anope User
  • Offline Offline
  • Posts: 56
[Request] ms_clearall
« on: October 04, 2008, 08:59:54 PM »

Okay...I know this could potentially abused...but...

Can a module be created that will clear everyone's memos, meaning ALL registered users. The corruption in the database isn't easily fixed if all backups have the same corruption. Furthermore, maybe it can then send a memo to the users stating why the memos were cleared (like /ms clearall <reason>

Of course, considering the potential abuse of this, the module could be restricted to services roots :)
Logged
Always believe Murphy's Law. If you don't, watch what happens.

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: [Request] ms_clearall
« Reply #1 on: October 06, 2008, 08:06:38 AM »

Then just delete whole memo.db and leet it make memos in .db via new type of storing if memos base is changed
Logged

katsklaw

  • Guest
Re: [Request] ms_clearall
« Reply #2 on: October 06, 2008, 11:37:53 AM »

Then just delete whole memo.db and leet it make memos in .db via new type of storing if memos base is changed

There is no memo.db to simply delete. Memos are saved in nick.db
Logged

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: [Request] ms_clearall
« Reply #3 on: October 06, 2008, 02:31:12 PM »

oh :(
* [dx] didn't knew
Logged
Pages: [1]   Go Up