summaryrefslogtreecommitdiffstats
path: root/ksirc/ioBroadcast.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-03 15:55:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-08 17:13:22 +0900
commit2cab1f3059038ab001f5185c29f0791c77aeeba1 (patch)
treee294a699a78e0aef2969216fc8fc1378b83b0064 /ksirc/ioBroadcast.cpp
parentb2cb25ce7dde70c48747856d22dfac03f27033e1 (diff)
downloadtdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.tar.gz
tdenetwork-2cab1f3059038ab001f5185c29f0791c77aeeba1.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 89969dcb2142d91b295c8d18cde46e22ef118dce)
Diffstat (limited to 'ksirc/ioBroadcast.cpp')
-rw-r--r--ksirc/ioBroadcast.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/ioBroadcast.cpp b/ksirc/ioBroadcast.cpp
index b36e4420..25fb0aa8 100644
--- a/ksirc/ioBroadcast.cpp
+++ b/ksirc/ioBroadcast.cpp
@@ -33,13 +33,13 @@ void KSircIOBroadcast::sirc_receive(TQCString str, bool)
TQDictIterator<KSircMessageReceiver> it(proc->getWindowList());
KSircMessageReceiver *dflt = (proc->getWindowList())["!default"];
- if(dflt->getBroadcast() == TRUE)
+ if(dflt->getBroadcast())
dflt->sirc_receive(str, true);
it.toFirst();
while(it.current()){
- if((it.current()->getBroadcast() == TRUE) && (it.current() != dflt))
+ if(it.current()->getBroadcast() && (it.current() != dflt))
it.current()->sirc_receive(str, true);
++it;
}
@@ -65,7 +65,7 @@ filterRuleList *KSircIOBroadcast::defaultRules()
{
filterRule *fr;
filterRuleList *frl = new filterRuleList();
- frl->setAutoDelete(TRUE);
+ frl->setAutoDelete(true);
fr = new filterRule();
fr->desc = "Inverse to KSIRC inverse";
fr->search = ".*";