Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: MemoServ Old Module -- ms_chanmemo  (Read 4333 times)

0 Members and 1 Guest are viewing this topic.

Casey

  • Anope User
  • Offline Offline
  • Posts: 53
MemoServ Old Module -- ms_chanmemo
« on: February 18, 2007, 02:48:46 AM »

I was having a look through the Old Modules and saw this one called ms_chanmemo for MemoServ by DaPrivateer.

ms_chanmemo has a little problem with 1.7.18 -- when you send a memo to the channel,  and when you delete it,  it will give a Segmentation Fault and Anope disconnects.

I tried using it with InspIRCd 1.1.1 with the SVN Trunk with the InspIRCd support,  and tried using Unreal with the standard Anope,  and will Segmentation Fault disconnect on both.

Sometimes it does this and sometimes it is ok.

the contact address comes back saying there is no address when you send to him.



Are we able to get ms_chanmemo working for the newer Anope's?


/**

 * This module modifies the manner in which memos are sent

 * to channels. Instead of having memos sent to one channel

 * they are sent to all users on the channel access list

 * who have the necessary access level. It prefixes the memo

 * with the channel name so the users know why they are

 * receiving it. For this section, the only thing you need

 * to modify is the MS_SECURE_MEMOS directive. If this is

 * defined, you must be on the channel access list, and have

 * the necessary access level (or be a services admin) to send

 * a memo to the channel. If not defined, anyone can send to

 * the channel. This can also be changed at run time.

 *

 * This module also can grant SA's or SRA's special access to

 * MemoServ. If MS_SA_MOREACCESS is uncommented, SA's can delete

 * memos for any user, and modify their notify options.If

 * MS_SA_ALLACCESS is uncommented, SA's have access to list,

 * read, and delete memos from any user. IF MS_GLB_ONSAUSE is

 * uncommented, MemoServ will send a GLOBOPS whenever these special

 * privileges are used. If MS_RESTRICT_SRA is defined in

 * conjunction with one of the above options, those privileges

 * become available only to SRA's.

 *

 * PLEASE REPORT BUGS!

 *

 * By: DaPrivateer

 * DaPrivateer@off-hours.com

 */
Logged

Casey

  • Anope User
  • Offline Offline
  • Posts: 53
(No subject)
« Reply #1 on: February 18, 2007, 03:18:05 AM »

ms_chanmemo to send the channel memo to all users on the channel access list who has access to it.

with no ms_chanmemo -- the channel has its own inbox that everyone is attached to who has access to it, and when someone deletes a memo from the channel, it deletes it from everyone's read of the memo.
Logged

Casey

  • Anope User
  • Offline Offline
  • Posts: 53
(No subject)
« Reply #2 on: February 19, 2007, 11:46:31 AM »

this is my services -debug -nofork and services.log

services -debug -nofork
http://www.anope.org/paste2.php?id=850b6004

services.log
http://www.anope.org/paste2.php?id=f1aa07da
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: February 19, 2007, 11:47:02 AM »

well you said it yourself... you found the module in the old modules list... there s a reason those modules are in a seperate list... most of the simply don't work with the latest 1.7 versions or cause crashes and stuff...

you will have to find some1 willing to updatethat module for the 1.7 branch (or even better rewrite it), or try it yourself
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1]   Go Up