[IRCServices Coding] suggestion to chanserv

Xuefer Xuefer at 21cn.com
Mon Jul 8 23:26:48 PDT 2002


ircservices-coding:
¡¡¡¡
file: modules/chanserv/main.c
line 1060
	/* If it was an OP command, update the last-used time */
	if (strcmp(cmd, "OP") == 0) {
	    ci->last_used = time(NULL);
	    put_channelinfo(ci);
	}

			
there're bunch of MODE +o
but last_used should not be updated so frequently

cause in modules/database/README:
======
    void put_nickinfo(NickInfo *ni)
	This routine may store the changed data directly into external storage,
======
we should lower the load of external storage
i'm not expert to ircservices source, just give a suggestion :-)



Xuefer
	2002-07-09