Commit 32c330ef authored by Benjamin Pracht's avatar Benjamin Pracht

oups

parent f3701945
...@@ -360,15 +360,16 @@ ...@@ -360,15 +360,16 @@
if( [o_sap_chkbox state] == NSOnState ) if( [o_sap_chkbox state] == NSOnState )
{ {
if ( ![[o_channel_name stringValue] isEqualToString: @""] ) if ( ![[o_channel_name stringValue] isEqualToString: @""] )
o_announce = [NSString stringWithFormat:@",sap,name=%@", [o_channel_name stringValue]]; o_announce = [NSString stringWithFormat:@",sap,name=%@",
[o_channel_name stringValue]];
else else
o_announce = @",sap"; o_announce = @",sap";
} }
if( [o_slp_chkbox state] == NSOnState ) if( [o_slp_chkbox state] == NSOnState )
{ {
if ( ![[o_channel_name stringValue] isEqualToString: @""] ) if ( ![[o_channel_name stringValue] isEqualToString: @""] )
o_announce = [o_announce stringByAppendingFormat:@", o_announce = [o_announce stringByAppendingFormat:@
slp,name==%@",[o_channel_name stringValue]]; "slp,name=%@",[o_channel_name stringValue]];
else else
o_announce = [o_announce stringByAppendingString: @",slp"]; 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