Commit bdb8fad0 authored by Benjamin Pracht's avatar Benjamin Pracht

use new syntax for sap/slp announces

parent f27aa203
......@@ -360,15 +360,15 @@
if( [o_sap_chkbox state] == NSOnState )
{
if ( ![[o_channel_name stringValue] isEqualToString: @""] )
o_announce = [NSString stringWithFormat:@",sap=%@", [o_channel_name stringValue]];
o_announce = [NSString stringWithFormat:@",sap,name=%@", [o_channel_name stringValue]];
else
o_announce = @",sap";
}
if( [o_slp_chkbox state] == NSOnState )
{
if ( ![[o_channel_name stringValue] isEqualToString: @""] )
o_announce = [o_announce stringByAppendingFormat:@",slp=%@",
[o_channel_name stringValue]];
if ( ![[o_channel_name stringValue] isEqualToString: @""] )
o_announce = [o_announce stringByAppendingFormat:@",
slp,name==%@",[o_channel_name stringValue]];
else
o_announce = [o_announce stringByAppendingString: @",slp"];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment