* Write a line of text `text' to the logfile (and stdout, if in nofork) if the level `level'
* is greater than the configured loglevel.
*/
* Write a line of text `text' to the logfile (and stdout, if in nofork) if the level `level'
* is greater than the configured loglevel.
*/
fprintf(Config->log_file,"%s %s\n",TIMESTR,textbuffer);
fprintf(Config->log_file,"%s %s\n",TIMESTR,textbuffer);
-void WriteChannelWithServ(char* ServName, chanrec* Ptr, char* text, ...)
+void WriteChannelWithServ(const char* ServName, chanrec* Ptr, const char* text, ...)
{
// send server notices to all with +s
WriteServ(a->fd,"NOTICE %s :%s",a->nick,text);
{
// send server notices to all with +s
WriteServ(a->fd,"NOTICE %s :%s",a->nick,text);